package com.lcm.openapi.core.model;

import cn.hutool.core.util.StrUtil;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.HashSet;
import java.util.List;
import java.util.Set;

@Data
public class ApiModel {

    @ApiModelProperty(value = "所在包名")
    private String packageName;

    @ApiModelProperty(value = "模型名称")
    private String modelName;

    @ApiModelProperty(value = "模型描述")
    private String modelDesc;

    @ApiModelProperty(value = "依赖包路径")
    private Set<String> imports = new HashSet<>();

    @ApiModelProperty(value = "模型字段")
    private List<ApiModelField> apiModelFields;

    @ApiModelProperty(value = "关联的模型")
    private Set<String> refModels = new HashSet<>();

}
